package Dtss;

import org.junit.Test;

import java.util.ArrayList;


public class EmployeeTest {

    @Test
    public void testEmployee() {
        ArrayList<Employee> employeeArrayList = new ArrayList<>();
        Employee employee1 = new Employee(1, "马云", (byte) 45, 2000.0, "", "FREE");
        Employee employee2 = new Employee(2, "马化腾", (byte) 40, 4000.0, "架构师", "FREE");
        Employee employee3 = new Employee(3, "张三", (byte) 35, 8000.0, "程序员", "FREE");
        Employee employee4 = new Employee(4, "李四", (byte) 36, 6000.0, "架构师", "FREE");
        Employee employee5 = new Employee(5, "王五", (byte) 37, 7700.0, "程序员", "FREE");
        Employee employee6 = new Employee(6, "赵六", (byte) 38, 5500.0, "程序员", "FREE");
        Employee employee7 = new Employee(7, "钱七", (byte) 39, 4400.0, "设计师", "FREE");
        Employee employee8 = new Employee(8, "孙八", (byte) 34, 3300.0, "设计师", "FREE");
        Employee employee9 = new Employee(9, "曹操", (byte) 33, 8800.0, "程序员", "FREE");
        Employee employee10 = new Employee(10, "典韦", (byte) 32, 9900.0, "设计师", "FREE");
        Employee employee11 = new Employee(11, "鲁迅", (byte) 31, 3900.0, "程序员", "FREE");
        Employee employee12 = new Employee(12, "张飞", (byte) 30, 5900.0, "程序员", "FREE");
        employeeArrayList.add(employee1);
        employeeArrayList.add(employee2);
        employeeArrayList.add(employee3);
        employeeArrayList.add(employee4);
        employeeArrayList.add(employee5);
        employeeArrayList.add(employee6);
        employeeArrayList.add(employee7);
        employeeArrayList.add(employee8);
        employeeArrayList.add(employee9);
        employeeArrayList.add(employee10);
        employeeArrayList.add(employee11);
        employeeArrayList.add(employee12);

        for (Employee employee : employeeArrayList) {
            System.out.println(employee);
        }

    }

}